﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MHYS.DEMO.Model
{
    public class OrderItem
    {
        /// <summary>
        /// 商品编号
        /// </summary>
        public int itemID { get; set; }      

        /// <summary>
        /// 商品编号
        /// </summary>
        public int ProductID { get; set; }

        /// <summary>
        /// 购买数量
        /// </summary>
        public int Num { get; set; }       

        /// <summary>
        /// 购买此商品总金额
        /// </summary>
        public decimal PayMoney { get; set; }  

        /// <summary>
        ///  订单编号
        /// </summary>
        public int OrderID { get; set; } 

        /// <summary>
        /// 商品实体
        /// </summary>
        public Product Product { get; set; } 
    }
}
